{{outlet 'error' }}
<div class="jumbotron">
  <div class="container">
    <div class="row">
      <div class="col-md-4 stats">
        <div style="display: block;">
          <i class="fa fa-bank"></i> 钱包余额: <span>{{model.stats.balance}}</span><br>
          <small>钱包余额更新时间：{{format-date-locale model.stats.balanceUpdated}}</small>          
        </div>
        <div style="display: block;"><i class="fa fa-money"></i> 矿池总支付金额: <span>{{model.stats.paid}}</span></div>
        <div style="display: block;"><i class="fa fa-paper-plane-o"></i> 总支付次数: <span>{{format-number model.paymentsTotal}}</span></div>

        <div style="display: block;"><i class="fa fa-hourglass-end"></i> 昨日支付金额: <span>{{model.stats.payYesterday}}</span></div>

        <div style="display: block;"><i class="fa fa-hourglass-start"></i> 今日支付金额: <span>{{model.stats.payToday}}</span></div>
        <small>今日收入为北京时间早上8点到次日早上8点的收入</small>

      </div>
      <div class="col-md-4 stats">
        <div style="display: block;"><i class="fa fa-tv"></i> 我的在线机器数量: <span>{{format-number model.workersOnlineCount}}</span></div>
        <div style="display: block;">
          <i class="fa fa-gears"></i> 我的未支付贡献值: <span>{{model.unpaidShares}}</span><br/>
        </div>        
        <div style="display: block;"><i class="fa fa-clock-o"></i> 我的算力（30分钟平均）: <span>{{format-hashrate model.currentHashrate}}</span></div>
        <div style="display: block;"><i class="fa fa-clock-o"></i> 我的算力 (3小时平均): <span>{{format-hashrate model.hashrate}}</span></div>
      </div>
      <div class="col-md-4 stats">
        <div><i class="fa fa-tachometer"></i> 全网总算力: <span>{{format-hashrate poolstats.model.networkHashrate}}</span></div>
        <div><i class="fa fa-tachometer"></i> 矿池当前算力: <span id="poolHashrate">{{format-hashrate poolstats.model.hashrate}}</span></div>
        <div><i class="fa fa-users"></i> 矿池在线矿工数量: <span id="poolHashrate">{{format-number poolstats.model.minersTotal}}</span></div>
        <div><i class="fa fa-tv"></i> 矿池在线矿机数量: <span id="poolHashrate">{{format-number poolstats.model.minersWorkersTotal}}</span></div>
        <div><i class="fa fa-bitcoin"></i> 今日爆块数量: <span id="poolHashrate">{{format-number poolstats.model.stats.foundBlocksToday}}</span></div>
        <div><i class="fa fa-money"></i> 昨日爆块数量: <span id="poolHashrate">{{format-number poolstats.model.stats.foundBlocksYesterday}}</span></div>
        <div><i class="fa fa-tasks"></i> 矿池总爆块数量: <span>{{format-number poolstats.model.stats.foundBlocksTotal}}</span></div>


      </div>
    </div>
  </div>
</div>

<div class="container">
  <ul class="nav nav-tabs">
    {{#active-li currentWhen='account.index' role='presentation'}}
      {{#link-to 'account.index'}}在线矿机 <span class="badge alert-success">{{format-number model.workersOnlineCount}}</span> / <span class="badge">{{model.workersTotal}}</span>{{/link-to}}
    {{/active-li}}
    {{#active-li currentWhen='account.payouts' role='presentation'}}
      {{#link-to 'account.payouts'}}支付记录 <span class="badge">{{format-number model.paymentsTotal}}</span>{{/link-to}}
    {{/active-li}}
    {{#active-li currentWhen='account.offlineworker' role='presentation'}}
      {{#link-to 'account.offlineworker'}}离线矿机 <span class="badge alert-danger">{{format-number model.workersOfflineCount}}</span>{{/link-to}}
    {{/active-li}}
  </ul>
</div>

{{outlet}}
